import express from 'express'
import articleControll from '../controlls/Article'
const router = express.Router()

router.get('/', articleControll.getAllArticleType) //查找所有类型

router.post('/', articleControll.addArticleType) //新增类型

router.delete('/:value', articleControll.deleteArticleTypeByValue)//通过value删除类型

export default router